<div class="row">
     <div class="span8 offset2">
<p><h3>{{$ "users.list"}}</h3></p>

{{#if pagination.models}}
<table class="table table-striped table-bordered table-condensed">
      <thead>
	<tr>
	  <th>Apellidos</th>
	  <th>Nombre</th>
	  <th>Nombre de usuario</th>
	  <th>Opciones</th>
	</tr>
      </thead>
      <tbody class="list"></tbody>
    </table>

<!--    

<div class="unstyled list">
</div>
-->


<div class="pagination">
  <ul>
    <li class="prev {{#unless pagination.prev}}disabled{{/unless}}"><a {{#if pagination.prev}}class=page{{/if}} data-id="{{pagination.prev}}">&larr; {{$ "common.pagination.prev"}}</a></li>
    {{#each pagination.pages}}
    <li class="{{class_if "active" this ../pagination.page}}"><a class="page" data-id="{{this}}">{{this}}</a></li>
    {{/each}}
    <li class="next {{#unless pagination.next}}disabled{{/unless}}"><a {{#if pagination.next}}class=page{{/if}} data-id="{{pagination.next}}">&rarr; {{$ "common.pagination.next"}}</a></li>
  </ul>
</div>
{{/if}}
{{#unless pagination.models}}
{{$ "users.list.empty"}}
{{/unless}}

<div class="well form-actions">
  <button name="add" class="btn btn-primary">{{$ "users.list.action.add"}}</button>
</div>

</div>
</div>
